From: Richard M. Stallman Date: Thu, 27 May 1993 03:56:12 +0000 (+0000) Subject: (display_text_line): Don't call compute_char_face for a non-X frame. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95895 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a6c87ac86c19d32e47b4ff5ca147eeaa49f4222e;p=emacs.git (display_text_line): Don't call compute_char_face for a non-X frame. --- diff --git a/src/xdisp.c b/src/xdisp.c index e72ca032083..762abb65aae 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1790,7 +1790,7 @@ display_text_line (w, start, vpos, hpos, taboffset) /* Did we hit a face change? Figure out what face we should use now. We also hit this the first time through the loop, to see what face we should start with. */ - if (pos == next_face_change) + if (pos == next_face_change && FRAME_X_P (f)) current_face = compute_char_face (f, w, pos, region_beg, region_end, &next_face_change);